package com.hl.card.common.remote.util;

import com.alibaba.fastjson.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "COMMON-PROVIDER")
public interface CommonUtilService {
    //通过手机号查询发出的验证码
    @RequestMapping(value = "/common/getPhoneCode",method = RequestMethod.GET)
    JSONObject getPhoneCode(@RequestParam(value = "phone") String phone);
}



